package com.su.currency.core;

public class Main {
	public  static void main(String args[]){
		FileQueque queque = new FileQueque();
		ConsumerTask task = new ConsumerTask(queque);
		Thread consumer = new Thread(task);
		consumer.setName("consumer");
		consumer.start();
		ProduceTask pTask = new ProduceTask(queque);
		Thread produce = new Thread(pTask);
		produce.setName("produce");
		produce.start();
		
		
		
	}

}
